<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台用户管理</title>
</head>
<link href="<?php echo $this->baseUrl;?>/admincss/style.css" rel="stylesheet" type="text/css" />
<script charset="utf-8" src="<?php echo $this->baseUrl;?>/adminjs/jquery.pack.js"></script>
<script charset="utf-8" src="<?php echo $this->baseUrl;?>/adminjs/server_list.js"></script>
<script language="javascript">
$(function (){
	$('._list').bind("mouseover", function (){
		$(this).addClass("trover");
	}).bind("mouseleave", function (){
		$(this).removeClass("trover");
	});
});
var batchOppUrl = "<?php echo $this->url($this->baseUrl,"server", "batch");?>";
</script>
<body>
<table class="tableA"  width="100%" border="1" class="tableA" >
  <tr align="center">
    <td width="11%" nowrap="nowrap"><strong>编号</strong></td>
    <td width="11%" nowrap="nowrap"><strong>点击数</strong></td>
    <td width="11%" nowrap="nowrap"><strong>发布人</strong></td>
    <td width="11%" nowrap="nowrap"><strong>添加时间</strong></td>
    <td width="11%" nowrap="nowrap"><strong>添加IP</strong></td>
    <td width="11%" nowrap="nowrap"><strong>服务器名称</strong></td>
    <td width="11%" nowrap="nowrap"><strong>服务器IP</strong></td>
    <td width="11%" nowrap="nowrap"><strong>线路</strong></td>
    <td width="11%" nowrap="nowrap"><strong>开区时间</strong></td>
    <td width="11%" nowrap="nowrap"><strong>客服qq</strong></td>
    <td width="6%" nowrap="nowrap"><strong>版本介绍</strong></td>
    <td width="6%" nowrap="nowrap"><strong>主页地址</strong></td>
    <td width="6%" nowrap="nowrap"><strong>推荐</strong></td>
    <td width="6%" nowrap="nowrap"><strong>精品全天推荐</strong></td>
    <td width="6%" nowrap="nowrap"><strong>全天固顶</strong></td>
    <td width="6%" nowrap="nowrap"><strong>通宵固顶</strong></td>
    <td width="6%" nowrap="nowrap"><strong>通宵推荐</strong></td>
    <td width="6%" nowrap="nowrap"><strong>通过审核</strong></td>
  </tr>
<!--
<?php
$ext = '&where=' . urlencode($this->where);

foreach ($this->list as $v){
$pubtime = date("Y-m-d H:i:s", $v['pubtime']);
$pubip = long2ip($v['pubip']);
$name = htmlspecialchars($v['name']);
$ip = htmlspecialchars($v['ip']);
$routeline = htmlspecialchars($v['routeline']);
$name = htmlspecialchars($v['name']);
$qq = htmlspecialchars($v['qq']);
$intro = htmlspecialchars($v['intro']);

$curl = $this->url($this->baseUrl, "server", "edit", "id=" . $v['id'] . '&nowp=' . $this->nowp . $ext);
print <<<EOT
-->
  <tr class="_list">
    <td width="11%" nowrap="nowrap">{$v['id']}</td>
    <td width="11%" nowrap="nowrap">{$v['urlhits']}</td>
    <td width="11%" nowrap="nowrap">{$v['adminame']}</td>
    <td width="11%" nowrap="nowrap">{$pubtime}</td>
    <td width="11%" nowrap="nowrap">{$pubip}</td>
    <td width="11%" nowrap="nowrap">{$name}</td>
    <td width="11%" nowrap="nowrap">{$ip}</td>
    <td width="11%" nowrap="nowrap">{$routeline}</td>
    <td width="11%" nowrap="nowrap">{$v['sdatetime']}</td>
    <td width="11%" nowrap="nowrap">{$qq}</td>
    <td width="6%" nowrap="nowrap">{$intro}</td>
    <td width="6%" nowrap="nowrap"><a href="{$v['url']}" target="_blank">主页</a></td>
    <td width="6%" nowrap="nowrap">{$v['isyellow']}</td>
    <td width="6%" nowrap="nowrap">{$v['isdayfine']}</td>
    <td width="6%" nowrap="nowrap">{$v['isbest']}</td>
    <td width="6%" nowrap="nowrap">{$v['isfinehot']}</td>
    <td width="6%" nowrap="nowrap">{$v['ishot']}</td>
    <td width="6%" nowrap="nowrap">{$v['ischeck']}</td>
  </tr>
<!--
EOT;
}
$indexurl =$this->url($this->fullUrl, 'server', 'list', 'nowp=1' . $ext);
$nexturl = $this->url($this->fullUrl, 'server', 'list', 'nowp='.$this->page['next'] . $ext);
$preurl = $this->url($this->fullUrl, 'server', 'list', 'nowp='.$this->page['previous'] . $ext);
$lasturl = $this->url($this->fullUrl, 'server', 'list', 'nowp='.$this->page['totalpage'] . $ext);
print <<<EOT
-->
  <tr>
    <td colspan="21">
共{$this->page['totalnum']}个 {$this->page['nowp']}/{$this->page ['totalpage']}
<a href="{$indexurl}">首页</a>
<a href="{$nexturl}">下一页</a>
<a href="{$preurl}">前一页</a>
<a href="{$lasturl}">末页</a></td>
  </tr>
<!--
EOT;
?>-->
</table>
</body>
</html>
